package com.nxw.springcloud.admin.enums;

public enum EnvironmentEnum implements BaseEnum<String> {

    SANDBOX("SAND_BOX", "沙箱环境"),
    PROD("PROD", "线上环境");

    private String value;
    private String desc;

    EnvironmentEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public static class Convert extends BaseEnumConverter<EnvironmentEnum, String> {

    }
}